<?php

class RobotResponse {
  
  /**
   *
   * @var RobotCommand[] $commands
   */
  protected $commands = null;
  
  /**
   *
   * @var string $content
   */
  protected $content = null;
  
  /**
   *
   * @var string $moduleId
   */
  protected $moduleId = null;
  
  /**
   *
   * @var string $nodeId
   */
  protected $nodeId = null;
  
  /**
   *
   * @var string[] $relatedQuestions
   */
  protected $relatedQuestions = null;
  
  /**
   *
   * @var float $similarity
   */
  protected $similarity = null;
  
  /**
   *
   * @var string[] $tags
   */
  protected $tags = null;
  
  /**
   *
   * @var int $type
   */
  protected $type = null;

  /**
   *
   * @param float $similarity          
   * @param int $type          
   */
  public function __construct($similarity, $type) {
    $this->similarity = $similarity;
    $this->type = $type;
  }

  /**
   *
   * @return RobotCommand[]
   */
  public function getCommands() {
    return $this->commands;
  }

  /**
   *
   * @param RobotCommand[] $commands          
   * @return RobotResponse
   */
  public function setCommands(array $commands = null) {
    $this->commands = $commands;
    return $this;
  }

  /**
   *
   * @return string
   */
  public function getContent() {
    return $this->content;
  }

  /**
   *
   * @param string $content          
   * @return RobotResponse
   */
  public function setContent($content) {
    $this->content = $content;
    return $this;
  }

  /**
   *
   * @return string
   */
  public function getModuleId() {
    return $this->moduleId;
  }

  /**
   *
   * @param string $moduleId          
   * @return RobotResponse
   */
  public function setModuleId($moduleId) {
    $this->moduleId = $moduleId;
    return $this;
  }

  /**
   *
   * @return string
   */
  public function getNodeId() {
    return $this->nodeId;
  }

  /**
   *
   * @param string $nodeId          
   * @return RobotResponse
   */
  public function setNodeId($nodeId) {
    $this->nodeId = $nodeId;
    return $this;
  }

  /**
   *
   * @return string[]
   */
  public function getRelatedQuestions() {
    return $this->relatedQuestions;
  }

  /**
   *
   * @param string[] $relatedQuestions          
   * @return RobotResponse
   */
  public function setRelatedQuestions(array $relatedQuestions = null) {
    $this->relatedQuestions = $relatedQuestions;
    return $this;
  }

  /**
   *
   * @return float
   */
  public function getSimilarity() {
    return $this->similarity;
  }

  /**
   *
   * @param float $similarity          
   * @return RobotResponse
   */
  public function setSimilarity($similarity) {
    $this->similarity = $similarity;
    return $this;
  }

  /**
   *
   * @return string[]
   */
  public function getTags() {
    return $this->tags;
  }

  /**
   *
   * @param string[] $tags          
   * @return RobotResponse
   */
  public function setTags(array $tags = null) {
    $this->tags = $tags;
    return $this;
  }

  /**
   *
   * @return int
   */
  public function getType() {
    return $this->type;
  }

  /**
   *
   * @param int $type          
   * @return RobotResponse
   */
  public function setType($type) {
    $this->type = $type;
    return $this;
  }
}
